package com.seari.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.seari.pojo.FlowMajor;
import com.seari.pojo.RepairPlanData;

public interface FlowLinkService {

	int addFlowLinkList(List<FlowMajor> fmList);

	String queryFlowByfidAndFlid(String faultId, String flowLinkId);

	String queryFaultContent(String faultId);

	Integer deleteFlowByFlowLinkId(@Param("faultId")String faultId,@Param("majorId") String majorId);

	Integer addRepairPlan(RepairPlanData rpd);

	String queryRepairPlan(String faultId,String tag, String flowLinkId);

	void deleteRepairPlanByFlowLinkId(String faultId, String tag,String flowLinkId);

	int updateRepairPlan(RepairPlanData rpd);

	void deleteBranchFlowByFaultLinkId(String faultId, String majorId);

	int addFlowMajor(FlowMajor fm);

}
